You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > ThreshBottom Method > TMtxVec.ThreshBottom Method ([In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVec.ThreshBottom Method ([In] double)

Threshold bottom operation.

Syntax
C#
Visual Basic
public TMtxVec ThreshBottom([In] double Value);

Perform threshold operation on all calling object values. The Value parameter is a lower bound for threshold operation. All values smaller than Value will be replaced with Value.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a; MtxVec.CreateIt(out a); try { a.SetIt(false, new double[] {2, 0.1, 3, 4}); a.ThreshBottom(0.2); // a = [2,0.2,3,4] } finally { MtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!